//
//  LXSearchCarView.h
//  INMOTION_CustomMadeProject
//
//  Created by cjg on 2021/3/24.
//  Copyright © 2021 cjg. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "KSBLEManager.h"

@protocol LXSearchCarViewDelegate <NSObject>

- (void)carListViewDidSelectInfo:(CBPeripheral *)peripheral;
- (void)carListViewDidCancel;
- (void)carListViewScan;

@end

@interface LXSearchCarView : UIView

@property (weak, nonatomic) IBOutlet UILabel *titleLB;
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (weak, nonatomic) IBOutlet UIButton *searchBtn;
@property (nonatomic, assign) BOOL isShowing;
@property (nonatomic, weak) id<LXSearchCarViewDelegate> delegate;

- (void)showdataList:(NSArray *)dataList;
- (void)dismiss:(void(^)(void))completion;

@end

